package com.mujiutian.wx.entity;

import cn.hutool.setting.dialect.Props;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.ToString;

@AllArgsConstructor
@ToString
@Data
public class WxBean {
    private String appId;
    private String appSecret;
    public WxBean() {
        Props props = new Props("application.properties");
        this.appId = props.get("wxpay.appId").toString();
        this.appSecret = props.get("wxpay.appSecret").toString();
    }
}
